using System;
using Abp.Domain.Entities;

namespace Batman.Jianbei.Forum.Core.Domains.Socials
{
    public class Follow : Entity<string>
    {
        /// <summary>
        ///  明星
        /// </summary>
        public string WxUserId { get; set; }
        
        /// <summary>
        ///  粉丝(微信用户ID)
        /// </summary>
        public string FollowBy { get; set; }
        
        /// <summary>
        /// 关注时间
        /// </summary>
        public DateTime CreateAt { get; set; }

        public Follow()
        {
            CreateAt = DateTime.Now;
        }

        public Follow(string wxUserId, string followBy) : this()
        {
            WxUserId = wxUserId;
            FollowBy = followBy;
        }
    }
}